# Contributor: Duncan Bellamy <dunk@denkimushi.com>
# Maintainer: Duncan Bellamy <dunk@denkimushi.com>
pkgname=py3-hatchling
pkgver=1.21.0
pkgrel=0
pkgdesc="Modern, extensible Python build backend"
url="https://hatch.pypa.io/latest/"
license="MIT"
arch="noarch"
depends="python3 py3-editables py3-packaging py3-pathspec py3-pluggy py3-trove-classifiers"
makedepends="py3-installer"
subpackages="$pkgname-pyc"
source="https://files.pythonhosted.org/packages/py3/h/hatchling/hatchling-$pkgver-py3-none-any.whl"
options="!check"

package() {
	# this causes a lot of circular dependencies, namely this depends on
	# poetry-core, which needs jsonschema, which needs this
	python3 -m installer -d "$pkgdir" \
		"$srcdir"/hatchling-$pkgver-py3-none-any.whl
}

sha512sums="
4733b2602d92027043319e372395a27c470d59a06a9a6bdf680fe93f75c5b000a6d42528c468083ee56dbe3742825143295b5c5b0876dc578a1671bc8d5b48bc  hatchling-1.21.0-py3-none-any.whl
"
